#pragma once

//for C++ head
#include <iostream>
using namespace std;

//for C head
#include <cstdio>
#include <cstring>
#include <cassert>

//for System head
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <unistd.h>
#include <conio.h>



#define FNAME "myfifo"

#define NUM 1024 //缓冲区大小